#include <stdio.h>

int* f()
{
	int i=12;
	printf("i=%d,&i=%p\n",i,&i);
	return &i;	
}

void g()
{
	int k=24;
	printf("k=%d,&k=%p\n",k,&k);
} 

int main(int argc,char const *argv[]) 
{
	int* p=f();
	printf("*p=%d,p=%p\n",*p,p);
	g();
	printf("*p=%d,p=%p\n",*p,p);
	return 0;
}



